package com.web.service;

import com.web.entity.HealthInfo;
import com.web.entity.PageResult;

import java.util.List;

public interface HealthInfoService {

    List<HealthInfo> listByUserIdAndDate(HealthInfo healthInfo);

    HealthInfo getByUserIdAndDate(HealthInfo healthInfo);

    PageResult<HealthInfo> page(Integer page, Integer pageSize, HealthInfo healthInfo);

    HealthInfo findById(Integer id);

    List<HealthInfo> findByUser(Integer userId);
    /*
        修改
         */
    void update(HealthInfo healthInfo);

    void insert(HealthInfo healthInfo);

    void delete(Integer id);
}
